package com.zkthink.ceres.member.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zkthink.base.mapper.SuperMapper;
import com.zkthink.ceres.member.dto.IntegralPageDTO;
import com.zkthink.ceres.member.entity.Integral;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * FileName: IntegralMapper
 * Author:   Pepis
 * Date:   2020  2020/8/29 16:17
 * Description: 会员积分 接口
 **/
@Repository
public interface IntegralMapper  extends SuperMapper<Integral> {

    IPage<Integral> page(IPage page, IntegralPageDTO model);

    List<Integral> getIntegralListByMID(Long mid);
}
